class CredentialsEntity {
  String statusCode;
  String accessKeyId;
  String accessKeySecret;
  String securityToken;
  String expiration;

  CredentialsEntity(
      {this.statusCode,
        this.accessKeyId,
        this.accessKeySecret,
        this.securityToken,
        this.expiration});

  CredentialsEntity.fromJson(Map<String, dynamic> json) {
    statusCode = json['StatusCode'];
    accessKeyId = json['AccessKeyId'];
    accessKeySecret = json['AccessKeySecret'];
    securityToken = json['SecurityToken'];
    expiration = json['Expiration'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['StatusCode'] = this.statusCode;
    data['AccessKeyId'] = this.accessKeyId;
    data['AccessKeySecret'] = this.accessKeySecret;
    data['SecurityToken'] = this.securityToken;
    data['Expiration'] = this.expiration;
    return data;
  }
}
